<cfcomponent output="false" persistent="true">

	<cfproperty name="ErrorLogID" column="ID" generator="increment" >
    <cfproperty name="StepID" column="StepID" fieldtype="one-to-many" 
        cfc="StepActions" fkcolumn="ID">
    <cfproperty name="RosettaID" column="RosettaID">
    <cfproperty name="ErrorDetail" column="ErrorDetail">    
    <cfproperty name="ErrorDateTime" column="DateTime">
	
	<cffunction name="init" access="public" returntype="ErrorLog" output="false">
	    <cfargument name="StepID" type="integer" required="no" default="-1">
        <cfargument name="RosettaID" type="integer" required="no" default="-1">
        <cfargument name="ErrorDetail" type="string" required="no" default="">
	    <cfscript>
                        
            setStepID(arguments.StepID);
            setRosettaID(arguments.RosettaID);
            setErrorDetail(arguments.ErrorDetail);
            return this;
	        
	    </cfscript>
	</cffunction>



</cfcomponent>